package zsrt.com.entity;

/**
 * 人类
 * @author 罗智壕-13424431416
 *
 * 2017年4月20日
 */
public class PersonEntity {
	/**
	 * 准考证号
	 */
	private String id;
	
	/**
	 * 密码
	 */
	private String password;
	
	/**
	 * 名字
	 */
	private String name;
	
	/**
	 * 年龄
	 */
	private Integer age;
	
	/**
	 * 省份
	 */
	private String province;
	
	/**
	 * 所在地
	 */
	private String city;
	
	/**
	 * 联系方式
	 */
	private String phone;
	
	/**
	 * 语文分数
	 */
	private Double chinese;
	
	/**
	 * 数学分数
	 */
	private Double math;
	
	/**
	 * 英语分数
	 */
	private Double english;
	
	/**
	 * 总分
	 */
	private Double total;
	
	
	/**
	 * 生成set/get方法
	 * @return
	 */
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Double getChinese() {
		return chinese;
	}

	public void setChinese(Double chinese) {
		this.chinese = chinese;
	}

	public Double getMath() {
		return math;
	}

	public void setMath(Double math) {
		this.math = math;
	}

	public Double getEnglish() {
		return english;
	}

	public void setEnglish(Double english) {
		this.english = english;
	}

	public Double getTotal() {
		return total;
	}

	public void setTotal(Double total) {
		this.total = total;
	}
	
	/**
	 * 重写toString方法
	 */
	@Override
	public String toString() {
		return "准考证=" + id + ", 密码=" + password + ", 名字=" + name + ", 年龄=" + age + ", 所属省份="
				+ province + ", 所属城市=" + city + ", 联系方式=" + phone + ", 语文分数=" + chinese + ", 数学分数=" + math
				+ ", 英语分数=" + english + ", 总分=" + total + "";
	}
	
}
